import http from '@/plugins/axios/index.js';

/*

用户 登录相关

*/

//用户登录
export const loginByEmail = params => {
  return http(`/auth/jwt/token`, params).then(res => res);
};

//用户登录
export const loginByUserInfo = params => {
  return http(`/login`, params, {
    isAuth: false
  });
};
